package com.dao.sys;

import com.model.domain.sys.GetRoleListDO;
import com.model.pojo.sys.SysRole;

import java.util.List;

public interface SysRoleMapper {
    int deleteByPrimaryKey(Long sysRoleId);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Long sysRoleId,Byte isDelete);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

    List<SysRole> selectList(GetRoleListDO getRoleListDO);

    int updateByPrimaryKeySelectiveList(List<SysRole> roleList);

    int has(Long sysRoleId,Byte isDelete);
}